package com.xianyun.site.iblog.common;

import com.xianyun.common.security.config.PermitAllUrlProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author  朱永杰
 */
@Configuration
public class ResourceConfig {
    @Bean
    @ConditionalOnMissingBean
    public PermitAllUrlProperties permitAllUrlProperties(){
        return  new PermitAllUrlProperties();
    }
}
